﻿@model prueba_mapas_mvc_goggle.Models.persona

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Agregar Persona Expuesta</legend>

       <div class="editor-label">Nombre</div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nombre)
            @Html.ValidationMessageFor(model => model.nombre)
        </div>

        <div class="editor-label">Apellido Paterno</div>
        <div class="editor-field">
            @Html.EditorFor(model => model.apellido_paterno)
            @Html.ValidationMessageFor(model => model.apellido_paterno)
        </div>

        <div class="editor-label">Apellido Materno</div>
        <div class="editor-field">
            @Html.EditorFor(model => model.apellido_materno)
            @Html.ValidationMessageFor(model => model.apellido_materno)
        </div>

        <div class="editor-label">Direccion</div>
        <div class="editor-field">
            @Html.EditorFor(model => model.direccion)
            @Html.ValidationMessageFor(model => model.direccion)
        </div>

        <p>
            <input type="submit" value="agregar_persona" />
        </p>
    </fieldset>
}